package com.wkck.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wkck.annotaion.AutoFill;
import com.wkck.domain.CompanyPhoto;
import com.wkck.enumeration.AutoFillParams;
import com.wkck.mapper.CompanyPhotoMapper;
import com.wkck.service.CompanyPhotosService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author: CK
 * @Date: 2024/02/08/17:57
 * @Description:
 */
@Service
public class CompanyPhotosServiceImpl extends ServiceImpl<CompanyPhotoMapper, CompanyPhoto> implements CompanyPhotosService {

    @Autowired
    private CompanyPhotoMapper companyPhotoMapper;

    /***
    * @Author: CK
    * @Date: 2024/2/10
    * @Param: [companyPhoto]
    * @Description: 保存公司图片信息
    */
    @Override
    @Transactional
    public void saveCompanyPhotos(CompanyPhoto companyPhoto) {
        companyPhotoMapper.saveCompanyPhotos(companyPhoto);
    }
}
